package models.crawlers.events;

import models.crawlers.events.base.CrawlerEvent;

public class ScanWebSite extends CrawlerEvent {
    public String categoryTitle;
    public int categoryCount;
    public int productCount;
    public int sessionId;
    public boolean isDone;
    public int categoryTotalCount;
    public int productTotalCount;
    public String currentCategoryTitle;
    public String currentProductTitle;

    public ScanWebSite(int categoryCount, int productCount, int categoryTotalCount, int productTotalCount, int sessionId) {
        this.categoryTitle = categoryTitle;
        this.categoryCount = categoryCount;
        this.productCount = productCount;
        this.sessionId = sessionId;
        this.className = this.getClass().getSimpleName();
        this.categoryTotalCount = categoryTotalCount;
        this.productTotalCount = productTotalCount;
    }
}
